package com.ahu.json;

import com.ahu.domain.UserInfo;

/**
 * Created by qx on 2017/11/30.
 * 前台所需Json类型
 *
 */
public class UserInfoJson {
    private Integer id;
    private String number;
    private String type;
    private String idCard;

    public UserInfoJson(UserInfo userInfo){
        this.id = userInfo.getId();
        this.number = userInfo.getNumber();
        this.type = userInfo.getType();
        this.idCard = userInfo.getIdCard();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }
}
